/*
 * File:   USB_Handler.h
 * Author: Twistx77
 *
 * Created on 21 de junio de 2012, 18:14
 */

#ifndef USB_Handler_H
#define USB_Handler_H

#include "aUSBPS.h"

#define FRAME_START 'S'
#define HI_COMMAND 0x01
#define SET_OUTPUTS_COMMAND 0x02
#define READ_OUTPUTS_COMMAND 0x03
#define CONFIG_COMMAND 0x04
#define UART_SEND_COMMAND 0x05


void initializeUSB(void);
void receivedUSBPacketHandler(UINT8 *_USB_In_Buffer);

#endif
